<div class="loginform">
    <?php
        echo CHtml::beginForm();
        echo CHtml::errorSummary($model);
        echo CHtml::activeLabel($model, 'username');
        echo CHtml::activeTextField($model, 'username');
    ?><br/>
    <?php
        echo CHtml::activeLabel($model, 'password');
        echo CHtml::activePasswordField($model, 'password');
    ?><br/>
    <?php
        echo Chtml::submitButton('ログイン');
        echo CHtml::endForm();
    ?>
    
</div>

